package com.zofer.study.strategy.activity;

public class DiamondMemberStrategy implements MemberStrategy {

    /**
     * 钻石会员5折
     */
    public double calcPrice(double totalPrice) {
        System.out.println("给钻石会员打5折");
        return totalPrice * 0.5;
    }
}
